﻿
using System;
using Report.Entity;
using Report.IRepository;
using System.Linq.Expressions;

namespace Report.Repository
{
    public class StorageParaDAL : BaseDAL<标准仓库参数子表>, IBase<标准仓库参数子表>
    {
        public 标准仓库参数子表 SearchByStorage(string storage){
            Expression<Func<标准仓库参数子表, bool>> where = (p => p.仓库编号 == storage);
            标准仓库参数子表 entity = GetByWhere(where);
            return entity;
        }
    }
}
